import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';

export class CreateOrderDto {
  @ApiProperty({
    description: '汽车id',
  })
  @Type(() => Number)
  car_id: number;

  @ApiProperty({
    description: '状态',
  })
  @Type(() => Number)
  state: number;

  @ApiProperty({
    description: '用户id',
  })
  @Type(() => Number)
  user_id: number;
}
